package com.xyz.entity.mapper;

import com.xyz.entity.pojo.UpkeepTemplateTaskPart;
import com.xyz.entity.pojo.UpkeepTemplateTaskPartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpkeepTemplateTaskPartMapper {
    long countByExample(UpkeepTemplateTaskPartExample example);

    int deleteByExample(UpkeepTemplateTaskPartExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UpkeepTemplateTaskPart record);

    int insertSelective(UpkeepTemplateTaskPart record);

    List<UpkeepTemplateTaskPart> selectByExample(UpkeepTemplateTaskPartExample example);

    UpkeepTemplateTaskPart selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UpkeepTemplateTaskPart record, @Param("example") UpkeepTemplateTaskPartExample example);

    int updateByExample(@Param("record") UpkeepTemplateTaskPart record, @Param("example") UpkeepTemplateTaskPartExample example);

    int updateByPrimaryKeySelective(UpkeepTemplateTaskPart record);

    int updateByPrimaryKey(UpkeepTemplateTaskPart record);
}